package sctu.edu.java.year2016.team06.luoxin.day20160621;

import java.util.Arrays;

/**
 * Created by Administrator on 2016/6/21.
 */
public class Helloworld {
     private float screen;
    private float cpu;
    private float speed;

    public float getScreen(){
        return screen;
    }

    public void setScreen(  float newScreen){
    screen=newScreen;
    }
    public Helloworld(){
        System.out.println("无参的构造方法执行了！");
    }
    public  Helloworld(float newScreen ,float newCpu,float newSpeed){
        screen=newScreen;
        cpu=newCpu;
        speed=newSpeed;
        System.out.println("有参的构造方法执行了");
    }
}
